package com.huaxin.common.tools;

import com.huaxin.common.utils.ToastUtil;

import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;

/**
 * Created by Administrator on 2016/11/21.
 */

public class MyCallback<T> implements Callback {

    @Override
    public void onResponse(Call call, Response response) {

    }

    @Override
    public void onFailure(Call call, Throwable t) {
        ToastUtil.showToastShort(t.getMessage());
    }
}
